package com.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.entity.Goods;

import java.util.List;

/**
 * 操作商品相关数据接口
 */
public interface GoodsMapper extends BaseMapper<Goods> {

    int updateById(Goods goods);

    Goods selectById(Integer id);

    List<Goods> selectAll(Goods goods);

}